import { chatHttp, type IRes } from '@/utils/request';
import type { IChangePwdParams } from './type';

// 修改密码
export const handleChange = (data: IChangePwdParams) =>
	chatHttp.post<IRes>({
		url: '/auth/forget_password',
		data
	});
